package com.aischool.api;

import com.aischool.common.kit.VerifyCodeKit;
import com.aischool.routes.RouteMapping;
import com.jfinal.core.Controller;

@RouteMapping(url = "/api/verify")
public class VerifyController extends Controller {

	public void index() {
		VerifyCodeKit.createImage(getRequest(), getResponse(), 1);
		//getSession().setAttribute("verifyCode", VerifyCodeKit.getVerityCode(1));
		renderNull();
	}
}
